﻿<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="NewsRight.ascx.cs" Inherits="TIS.UserControl.NewsRight" %>
<h2 class="title special">
    <asp:Repeater runat="server" ID="rpTitleRight">
        <ItemTemplate>
            <%# Eval("CategoryName")%>
        </ItemTemplate>
    </asp:Repeater>
</h2>
<ul class="list-right">
    <asp:Repeater runat="server" ID="rpNewsRight">
        <ItemTemplate>
            <li><a href="<%# LinkUtil.linkNews(Eval("NewsID").ToString(),Eval("CategoryId").ToString(),Eval("NewsSEOUrl").ToString()) %>">
                <%# Eval("NewsTitle")%>
            </a></li>
        </ItemTemplate>
    </asp:Repeater>
</ul>
<h2 class="title special">
    <asp:Repeater runat="server" ID="rpTitle2">
        <ItemTemplate>
            <%# Eval("CategoryName")%>
        </ItemTemplate>
    </asp:Repeater>
</h2>
<asp:Repeater runat="server" ID="rpNews2">
    <ItemTemplate>
        <div class="news-content">
            <a href="<%# LinkUtil.linkNews(Eval("NewsID").ToString(),Eval("CategoryId").ToString(),Eval("NewsSEOUrl").ToString()) %>">
                <img src="<%# Eval("NewsImages") %>" width="76" height="52" alt="news" /></a>
            <p class="time">
                <%# Eval("NewsDate", "{0:dd/MM/yyyy}")%></p>
            <p>
                <a href="<%# LinkUtil.linkNews(Eval("NewsID").ToString(),Eval("CategoryId").ToString(),Eval("NewsSEOUrl").ToString()) %>">
                    <%# Eval("NewsTitle")%>
                </a>
            </p>
        </div>
    </ItemTemplate>
</asp:Repeater>
